﻿using PureMVC.Patterns;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HitProxy : Proxy {

    public new const string NAME = "HitProxy";

    public HitProxy() : base(NAME)
    {

    }
    public override void OnRegister()
    {
        base.OnRegister();
    }
    /// <summary>
    /// 点击到 得分++
    /// </summary>
    //public void ScoreAdd()
    //{
    //    SendNotification(HitSystemEvent.StartCommand,null, "AddScore");
    //}

    public void GameBegin()
    {
        Debug.Log("进入代理发消息");
        SendNotification(HitSystemEvent.GameBegin);
    }
}
